#ifndef LOGINPAGE_H
#define LOGINPAGE_H


#include <QMainWindow>
#include "register.h"
#include "verify.h"


namespace Ui {
class LoginPage;
}

class LoginPage : public QMainWindow
{
    Q_OBJECT

public:
    explicit LoginPage(QWidget *parent = nullptr);
    ~LoginPage();
    static bool tryConnect();
private slots:
    void on_btn_eye_pressed();

    void on_btn_eye_released();

    void on_register_btn_clicked();

    void on_login_btn_clicked();





    void on_un_le_textChanged(const QString &arg1);

    void on_pw_le_textChanged(const QString &arg1);



private:
    Ui::LoginPage *ui;
    Register *r = nullptr;
    Verify *v = nullptr;

};

#endif // LOGINPAGE_H
